package request

type AddBookRequest struct {
	Title   string `form:"title" binding:"required"`   // 文章标题
	Context string `form:"context" binding:"required"` // 文章描述
}

type BookLikeRequest struct {
	BookId int `form:"book_id" binding:"required"`
}

type AddReviewRequest struct {
	BookId int    `form:"book_id" binding:"required"`
	Review string `form:"review" binding:"required"`
}

type ResReviewRequest struct {
	BookId   int    `form:"book_id" binding:"required"`
	Review   string `form:"review" binding:"required"`
	FatherId int    `form:"father_id" binding:"required"`
}

type AddReviewLikeRequest struct {
	ReviewId int `form:"review_id" binding:"required"`
}
